package com.liy.cloud.base.entity;

import com.liy.framework.common.vo.BaseVO;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


import javax.validation.constraints.Size;
import java.io.Serializable;


@JsonIgnoreProperties({"language", "tempField"})
public class BaseCardTypeEntity extends BaseVO<String> implements Serializable {

    private static final long serialVersionUID = 1L;

    @Size(max=40, message="{common.validation.length}")
    private String cardName; //卡类型名

    @Size(max=100, message="{common.validation.length}")
    private String description; //描述

    @Size(max=10, message="{common.validation.length}")
    private String foregift; //押金

    @Size(max=10, message="{common.validation.length}")
    private String charge; //费用

    @Size(max=10, message="{common.validation.length}")
    private String dateAvailable; //有效天数

    @Size(max=2, message="{common.validation.length}")
    private String mediaType; //介质类型
    private String mediaTypeText;//在页面中显示的文本

    @Size(max=2, message="{common.validation.length}")
    private String status; //初始化后状态
    private String statusText;//在页面中显示的文本

    @Size(max=10, message="{common.validation.length}")
    private String initialValue; //初始值

    @Size(max=40, message="{common.validation.length}")
    private String cardNameEn; //卡类型英文名

    @Size(max=1, message="{common.validation.length}")
    private String isSelled; //是否可售

    @Size(max=10, message="{common.validation.length}")
    private String sortId; //排序序号

    @Size(max=10, message="{common.validation.length}")
    private String issuesn; //发行序列号

    @Size(max=300, message="{common.validation.length}")
    private String attrib; //卡属性

    @Size(max=2, message="{common.validation.length}")
    private String cardTypeEx; //票卡小类

    private String createByName; //创建人
    private String lastUpdateByName; //最后更新人

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getForegift() {
        return foregift;
    }

    public void setForegift(String foregift) {
        this.foregift = foregift;
    }

    public String getCharge() {
        return charge;
    }

    public void setCharge(String charge) {
        this.charge = charge;
    }

    public String getDateAvailable() {
        return dateAvailable;
    }

    public void setDateAvailable(String dateAvailable) {
        this.dateAvailable = dateAvailable;
    }

    public String getMediaType() {
        return mediaType;
    }

    public void setMediaType(String mediaType) {
        this.mediaType = mediaType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInitialValue() {
        return initialValue;
    }

    public void setInitialValue(String initialValue) {
        this.initialValue = initialValue;
    }

    public String getCardNameEn() {
        return cardNameEn;
    }

    public void setCardNameEn(String cardNameEn) {
        this.cardNameEn = cardNameEn;
    }

    public String getIsSelled() {
        return isSelled;
    }

    public void setIsSelled(String isSelled) {
        this.isSelled = isSelled;
    }

    public String getSortId() {
        return sortId;
    }

    public void setSortId(String sortId) {
        this.sortId = sortId;
    }

    public String getIssuesn() {
        return issuesn;
    }

    public void setIssuesn(String issuesn) {
        this.issuesn = issuesn;
    }

    public String getAttrib() {
        return attrib;
    }

    public void setAttrib(String attrib) {
        this.attrib = attrib;
    }

    public String getCardTypeEx() {
        return cardTypeEx;
    }

    public void setCardTypeEx(String cardTypeEx) {
        this.cardTypeEx = cardTypeEx;
    }

    public String getCreateByName() {
        return createByName;
    }

    public void setCreateByName(String createByName) {
        this.createByName = createByName;
    }

    public String getLastUpdateByName() {
        return lastUpdateByName;
    }

    public void setLastUpdateByName(String lastUpdateByName) {
        this.lastUpdateByName = lastUpdateByName;
    }

    public String getMediaTypeText() {
        return mediaTypeText;
    }

    public void setMediaTypeText(String mediaTypeText) {
        this.mediaTypeText = mediaTypeText;
    }

    public String getStatusText() {
        return statusText;
    }

    public void setStatusText(String statusText) {
        this.statusText = statusText;
    }
}
